#!/usr/bin/python3
#判断字符串是否是回文
s1 = input("请输入字符串")
s2 = s1[::-1]
print(s1,s2,"\n")
if s1==s2:
    print("Yes")
else:
    print("No")
